﻿<%@ Page Title="" Language="C#" MasterPageFile="~/WebForms/Site.Master" AutoEventWireup="true" CodeBehind="CheckInManagement.aspx.cs" Inherits="DelonixRegiaHMSys.UI.WebForms.CheckInManagement" %>

<asp:Content ID="Content1" ContentPlaceHolderID="head" runat="server">
    <style type="text/css">
        .auto-style9 {
            width: 235px;
        }

        .auto-style10 {
            color: #333333;
            width: 191px;
        }
    </style>
</asp:Content>
<asp:Content ID="Content2" ContentPlaceHolderID="ContentPlaceHolder1" runat="server">
    <ajaxToolkit:ToolkitScriptManager ID="ToolkitScriptManager1" runat="server"></ajaxToolkit:ToolkitScriptManager>
    <div id="wrapper">
        <div id="content">
            <h2>Check-in</h2>


            <table class="auto-style4">
                <tr>
                    <td class="auto-style6"><em>Check- in ID:</em></td>
                    <td>
                        <asp:Label ID="lblcheckinID" runat="server"></asp:Label>
                    </td>
                </tr>
                <tr>
                    <td class="auto-style5"><em>Guest ID:</em></td>
                    <td>
                        <asp:Label ID="lblguestID" runat="server"></asp:Label>
                    </td>
                </tr>
                <tr>
                    <td class="auto-style5">&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;
                            <br />
                        Number of Adults:&nbsp;</td>
                    <td>
                        <asp:DropDownList ID="ddlnumOfAdults" runat="server" Height="19px" Width="60px">
                            <asp:ListItem>1</asp:ListItem>
                            <asp:ListItem>2</asp:ListItem>
                            <asp:ListItem>3</asp:ListItem>
                            <asp:ListItem>4</asp:ListItem>
                        </asp:DropDownList>
                    </td>
                </tr>
                <tr>
                    <td class="auto-style5">Number of Children:</td>
                    <td>
                        <asp:DropDownList ID="ddlnumOfChildren" runat="server">
                            <asp:ListItem>0</asp:ListItem>
                            <asp:ListItem>1</asp:ListItem>
                            <asp:ListItem>2</asp:ListItem>
                            <asp:ListItem>3</asp:ListItem>
                            <asp:ListItem>4</asp:ListItem>
                        </asp:DropDownList>
                        <br />
                    </td>
                </tr>
                <tr>
                    <td class="auto-style5">Desired Check- out Date Time:</td>
                    <td>&nbsp;<asp:TextBox ID="tbxdesirecheckouttime" runat="server"></asp:TextBox>
                        <ajaxToolkit:CalendarExtender ID="tbxdesirecheckouttime_CalendarExtender" runat="server" Enabled="True" TargetControlID="tbxdesirecheckouttime">
                        </ajaxToolkit:CalendarExtender>
                    </td>
                    <td>
                        <asp:RequiredFieldValidator ID="ArrivalDateReqVal" runat="server" ErrorMessage="Please enter the date and time of when the guest will be arriving!" Font-Bold="True" ForeColor="Red" ControlToValidate="tbxdesirecheckouttime" Display="Dynamic"></asp:RequiredFieldValidator>
                    </td>
                </tr>
                <tr>
                    <td class="auto-style5">Room Type:</td>
                    <td>
                        <asp:RadioButtonList ID="rblroomType" runat="server" RepeatDirection="Horizontal">
                            <asp:ListItem Value="Executive" Selected="True">Executive</asp:ListItem>
                            <asp:ListItem>Deluxe</asp:ListItem>
                        </asp:RadioButtonList>
                    </td>
                </tr>
                <tr>
                    <td class="auto-style5">Bed Type:</td>
                    <td>
                        <asp:RadioButtonList ID="rblbedType" runat="server" RepeatDirection="Horizontal">
                            <asp:ListItem>King-Sized</asp:ListItem>
                            <asp:ListItem Selected="True">Queen-Sized</asp:ListItem>
                        </asp:RadioButtonList>
                    </td>
                </tr>
                <tr>
                    <td class="auto-style5">Smoking /Non-Smoking:</td>
                    <td>
                        <asp:RadioButtonList ID="rblsmokingOrNot" runat="server" RepeatDirection="Horizontal">
                            <asp:ListItem Value="Y">Smoking</asp:ListItem>
                            <asp:ListItem Value="N" Selected="True">Non-smoking</asp:ListItem>
                        </asp:RadioButtonList>
                    </td>
                </tr>
                <tr>
                    <td class="auto-style5">Late Check- Out Request:</td>
                    <td>
                        <asp:RadioButtonList ID="rbllateCheckOutReq" runat="server" RepeatDirection="Horizontal">
                            <asp:ListItem Value="Y">Yes</asp:ListItem>
                            <asp:ListItem Selected="True" Value="N">No</asp:ListItem>
                        </asp:RadioButtonList>
                    </td>
                </tr>
                <tr>
                    <td class="auto-style10">Payment Mode:</td>
                    <td>
                        <asp:RadioButtonList ID="rblpaymentMode" runat="server" RepeatDirection="Horizontal" OnSelectedIndexChanged="rblpaymentMode_SelectedIndexChanged" AutoPostBack="True">
                            <asp:ListItem Selected="True">Cash</asp:ListItem>
                            <asp:ListItem>CreditCard</asp:ListItem>
                        </asp:RadioButtonList>
                    </td>
                </tr>
            </table>

            <asp:Panel runat="server" ID="pnl" Visible="False">
            <table class="auto-style4">
                <tr>
                    <td class="auto-style10">Credit card number:</td>
                    <td>
                        <asp:TextBox ID="tbxcreditCardNum" runat="server" TextMode="Password" Width="167px"></asp:TextBox>
                    </td>
                    <td class="auto-style9">
                        <asp:RequiredFieldValidator ID="RequiredFieldValidator1" runat="server" ControlToValidate="tbxcreditCardNum" ErrorMessage="Please enter the credit card number!" ForeColor="#FF3300"></asp:RequiredFieldValidator>
                    </td>
                </tr>
                <tr>
                    <td class="auto-style10">Cardholder Name:</td>
                    <td>
                        <asp:TextBox ID="tbxcardHolderName" runat="server" Width="167px"></asp:TextBox>
                    </td>
                    <td class="auto-style9">
                        <asp:RequiredFieldValidator ID="RequiredFieldValidator2" runat="server" ControlToValidate="tbxcardHolderName" ErrorMessage="Please enter cardholder name!" ForeColor="#FF3300"></asp:RequiredFieldValidator>
                    </td>
                </tr>
                <tr>
                    <td class="auto-style10">Card Type:</td>
                    <td>
                        <asp:DropDownList ID="ddlcardType" runat="server" Height="19px" Width="144px">
                            <asp:ListItem>Visa</asp:ListItem>
                            <asp:ListItem>Mastercard</asp:ListItem>
                            <asp:ListItem>American Express</asp:ListItem>
                            <asp:ListItem>Citi</asp:ListItem>
                        </asp:DropDownList>
                    </td>
                </tr>
                <tr>
                    <td class="auto-style10">Card Expiration Date:</td>
                    <td>
                        <asp:TextBox ID="tbxexpiretime" runat="server" Height="19px" Width="132px"></asp:TextBox>
                    </td>
                    <td class="auto-style9">
                        <asp:RequiredFieldValidator ID="RequiredFieldValidator3" runat="server" ControlToValidate="tbxexpiretime" ErrorMessage="Please enter card expiration date!" ForeColor="#FF3300"></asp:RequiredFieldValidator>
                    </td>
                </tr>
            </table>
                </asp:Panel>
            <br />
            Additional Remarks(if any)<br />
            <br />
            <asp:TextBox ID="tbxaddRemarks" runat="server" Height="160px" TextMode="MultiLine" Width="637px"></asp:TextBox>


        </div>

        <div id="left">
            <h3>Welcome to CheckIn Section!</h3>
            <p class="auto-style7">Please Fill in the checkin form here.</p>
            <p>&nbsp;</p>
            <p>&nbsp;</p>
            <p>&nbsp;</p>
            <p>&nbsp;</p>
            <p>&nbsp;</p>
            <p>&nbsp;</p>
            <p>
                &nbsp;<asp:Button ID="btncinext" runat="server" Height="35px" Text="Next" Width="89px" OnClick="btncinext_Click" />
            </p>
        </div>

        <div class="clear"></div>

    </div>
</asp:Content>
